package com.kungfu.service.impl;

import com.kungfu.dao.ReceiptItemMapper;
import com.kungfu.entity.ReceiptItem;
import com.kungfu.service.ReceiptItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RecepitItemServiceImpl implements ReceiptItemService {
    @Autowired
    private ReceiptItemMapper mapper;
    @Override
    public int insertList(List<ReceiptItem> list) {

        return  mapper.insertByList(list);
    }
}
